<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title><?php echo ($system['name']); ?>-导游后台管理</title>
    <meta name="keywords" content="<?php echo ($system['keyword']); ?>" />
    <meta name="description" content="<?php echo ($system['description']); ?>" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <!-- 基本样式 -->
    <!-- basic styles -->
    <link href="/Public/ace/assets/css/bootstrap.min.css" rel="stylesheet" />
    <link rel="stylesheet" href="/Public/ace/assets/css/font-awesome.min.css" />
    <!--[if IE 7]>
    <link rel="stylesheet" href="/Public/ace/assets/css/font-awesome-ie7.min.css" />
    <![endif]-->
    <!-- page specific plugin styles -->
    <!-- fonts -->
    <!--<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,300" />-->
    <!--<link rel="stylesheet" href="/Public/ace/assets/font/font.css" />-->
    <!-- ace styles -->
    <link rel="stylesheet" href="/Public/ace/assets/css/ace.min.css" />
    <link rel="stylesheet" href="/Public/ace/assets/css/ace-rtl.min.css" />
    <link rel="stylesheet" href="/Public/ace/assets/css/ace-skins.min.css" />
    <link rel="stylesheet" href="/Public/font-awesome-4.7.0/css/font-awesome.min.css">
    <!--[if lte IE 8]>
    <link rel="stylesheet" href="/Public/ace/assets/css/ace-ie.min.css" />
    <![endif]-->
    <!-- inline styles related to this page -->
    <!-- ace settings handler -->
    <script src="/Public/ace/assets/js/ace-extra.min.js"></script>
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="/Public/ace/assets/js/html5shiv.js"></script>
    <script src="/Public/ace/assets/js/respond.min.js"></script>
    <![endif]-->
    <!--[if !IE]>
    -->
    <script src="/Public/ace/assets/js/jquery-2.0.3.min.js"></script>
    <!-- <![endif]-->
    <!--[if IE]>
    <script src="/Public/ace/assets/js/jquery-1.10.2.min.js"></script>
    <![endif]-->
    <!--[if !IE]>
    -->
    <script type="text/javascript">
            window.jQuery || document.write("<script src='/Public/ace/assets/js/jquery-2.0.3.min.js'>"+"<"+"script>");</script>
    <!-- <![endif]-->
    <!--[if IE]>
    <script type="text/javascript">
         window.jQuery || document.write("<script src='/Public/ace/assets/js/jquery-1.10.2.min.js'>"+"<"+"script>");</script>
    <![endif]-->
    <!-- 基本样式结束 -->
    <!-- 扩展使用 -->
    <script src="/Public/ace/assets/js/bootstrap.min.js"></script>
    <link href="/Public/ace/admin/css/admin.css" rel="stylesheet" />
    <script type="text/javascript" src="/Public/UEditor/ueditor.config.js"></script>
    <script type="text/javascript" src="/Public/UEditor/ueditor.all.js"></script>
    <script type="text/javascript" src="/Public/My97DatePicker/WdatePicker.js"></script>
    <!-- 扩展使用结束 -->
</head>
<body>
<div class="row">
    <div class="col-md-8 col-md-offset-2">
        <img src="/Public/file/<?php echo ($system['logo']); ?>" style="padding: 2rem;"/>
        <div class="panel panel-default">
            <div class="panel-heading">
                <h3 class="panel-title">欢迎导游加盟，请填写以下申请信息</h3>
            </div>
            <div class="panel-body">
                <form class="form-horizontal" role="form" method="post" enctype="multipart/form-data" style="padding-left: 10px;padding-right: 10px;">
                    <div class="form-group">
                        <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="username"> 手机号 </label>
                        <div class="col-xs-12 col-sm-6">
                            <span class="block input-icon input-icon-right">
                        <input type="text" class="width-100" placeholder="手机号" id="username" name="username"  value="<?php echo ((isset($model['username']) && ($model['username'] !== ""))?($model['username']):''); ?>" validate-required="required:请填写手机号" <?php if(ACTION_NAME == update): ?>readonly<?php endif; ?>/>
                        <i class=""></i>
                    </span>
                        </div>
                        <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
                    </div>
                    <div class="form-group">
                        <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="password"> 密码 </label>
                        <div class="col-xs-12 col-sm-6">
                            <span class="block input-icon input-icon-right">
                        <input type="password" class="width-100" placeholder="密码" id="password" name="password"  value="<?php echo ((isset($model['password']) && ($model['password'] !== ""))?($model['password']):''); ?>" validate-required="required:请填写密码" />
                        <i class=""></i>
                    </span>
                        </div>
                        <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
                    </div>
                    <div class="form-group">
                        <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="repassword"> 重复密码 </label>
                        <div class="col-xs-12 col-sm-6">
                            <span class="block input-icon input-icon-right">
                        <input type="password" class="width-100" placeholder="密码" id="password" name="repassword"  value="<?php echo ((isset($model['repassword']) && ($model['repassword'] !== ""))?($model['repassword']):''); ?>" validate-required="required:请填写密码" />
                        <i class=""></i>
                    </span>
                        </div>
                        <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
                    </div>
                    <input type="hidden" name="type" value="导游" />
                    <input type="hidden" name="state" value="禁用" />
                    <div class="form-group">
                        <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="name"> 姓名 </label>
                        <div class="col-xs-12 col-sm-6">
                            <span class="block input-icon input-icon-right">
                        <input type="text" class="width-100" placeholder="姓名" id="name" name="name"  value="<?php echo ((isset($model['name']) && ($model['name'] !== ""))?($model['name']):''); ?>" validate-required="required:请填写姓名" />
                        <i class=""></i>
                    </span>
                        </div>
                        <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
                    </div>
                    <div class="form-group">
                        <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="photo"> 头像 </label>
                        <div class="col-xs-12 col-sm-6">
                            <span class="block input-icon input-icon-right">
                        <input type="file" class="width-100" placeholder="头像" id="photo" name="photo"  value="<?php echo ((isset($model['photo']) && ($model['photo'] !== ""))?($model['photo']):''); ?>"  validate-required="required:请填写姓名"/>
                        <i class=""></i>
                    </span>
                        </div>
                        <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
                    </div>
                    <div class="form-group">
                        <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="location"> 所在地 </label>
                        <div class="col-xs-12 col-sm-6">
                            <span class="block input-icon input-icon-right">
                        <input type="text" class="width-100" placeholder="所在地" id="location" name="location"  value="<?php echo ((isset($model['location']) && ($model['location'] !== ""))?($model['location']):''); ?>"  />
                        <i class=""></i>
                    </span>
                        </div>
                        <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
                    </div>
                    <div class="form-group">
                        <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="id_number"> 身份证号 </label>
                        <div class="col-xs-12 col-sm-6">
                            <span class="block input-icon input-icon-right">
                        <input type="text" class="width-100" placeholder="身份证号" id="id_number" name="id_number"  value="<?php echo ((isset($model['id_number']) && ($model['id_number'] !== ""))?($model['id_number']):''); ?>"  />
                        <i class=""></i>
                    </span>
                        </div>
                        <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
                    </div>
                    <div class="form-group">
                        <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="birthday"> 生日 </label>
                        <div class="col-xs-12 col-sm-6">
                            <span class="block input-icon input-icon-right">
                        <input type="text" class="width-100" placeholder="生日" id="birthday" name="birthday"  value="<?php echo (date('Y-m-d',(isset($model['birthday']) && ($model['birthday'] !== ""))?($model['birthday']):'')); ?>"  onClick="WdatePicker()" readonly=""/>
                        <i class=""></i>
                    </span>
                        </div>
                        <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
                    </div>
                    <div class="form-group">
                        <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="email"> 邮箱 </label>
                        <div class="col-xs-12 col-sm-6">
                            <span class="block input-icon input-icon-right">
                        <input type="text" class="width-100" placeholder="邮箱" id="email" name="email"  value="<?php echo ((isset($model['email']) && ($model['email'] !== ""))?($model['email']):''); ?>"  />
                        <i class=""></i>
                    </span>
                        </div>
                        <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
                    </div>
                    <div class="form-group">
                        <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="bank"> 银行 </label>
                        <div class="col-xs-12 col-sm-6">
                            <span class="block input-icon input-icon-right">
                        <input type="text" class="width-100" placeholder="银行" id="bank" name="bank"  value="<?php echo ((isset($model['bank']) && ($model['bank'] !== ""))?($model['bank']):''); ?>"  />
                        <i class=""></i>
                    </span>
                        </div>
                        <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
                    </div>
                    <div class="form-group">
                        <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="card_no"> 银行卡号 </label>
                        <div class="col-xs-12 col-sm-6">
                            <span class="block input-icon input-icon-right">
                                <input type="text" class="width-100" placeholder="银行卡号" id="card_no" name="card_no"  value="<?php echo ((isset($model['card_no']) && ($model['card_no'] !== ""))?($model['card_no']):''); ?>"  />
                                <i class=""></i>
                            </span>
                        </div>
                        <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
                    </div>
                    <div class="form-group">
                        <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="bank"> 性别 </label>
                        <div class="col-xs-12 col-sm-6">
                            <span class="block input-icon input-icon-right">
                                <select name="gender" class="width-100">
                                    <option value="男">男</option>
                                    <option value="女">女</option>
                                </select>
                                <i class=""></i>
                            </span>
                        </div>
                        <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
                    </div>
                    <div class="form-group">
                        <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="bank"> 导游类型 </label>
                        <div class="col-xs-12 col-sm-6">
                            <span class="block input-icon input-icon-right">
                                <select name="guider_type" class="width-100">
                                    <option value="大学生导游">大学生导游</option>
                                    <option value="社会导游">社会导游</option>
                                    <option value="职业导游">职业导游</option>
                                    <option value="国外导游">国外导游</option>
                                </select>
                                <i class=""></i>
                            </span>
                        </div>
                        <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
                    </div>
                    <div class="form-group">
                        <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="nationality"> 国籍 </label>
                        <div class="col-xs-12 col-sm-6">
                            <span class="block input-icon input-icon-right">
                                <input type="text" class="width-100" placeholder="国籍" id="nationality" name="nationality"  value="<?php echo ((isset($model['nationality']) && ($model['nationality'] !== ""))?($model['nationality']):''); ?>"  />
                                <i class=""></i>
                            </span>
                        </div>
                        <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
                    </div>
                    <div class="form-group">
                        <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="degree"> 学历 </label>
                        <div class="col-xs-12 col-sm-6">
                            <span class="block input-icon input-icon-right">
                                <select name="degree" class="width-100">
                                    <option value="专科">专科</option>
                                    <option value="本科">本科</option>
                                    <option value="硕士">硕士</option>
                                    <option value="博士">博士</option>
                                </select>
                                <i class=""></i>
                            </span>
                        </div>
                        <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
                    </div>
                    <div class="form-group">
                        <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="college"> 毕业院校 </label>
                        <div class="col-xs-12 col-sm-6">
                            <span class="block input-icon input-icon-right">
                                <input type="text" class="width-100" placeholder="毕业院校" id="college" name="college"  value="<?php echo ((isset($model['college']) && ($model['college'] !== ""))?($model['college']):''); ?>"  />
                                <i class=""></i>
                            </span>
                        </div>
                        <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
                    </div>
                    <div class="form-group">
                        <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="age"> 年龄 </label>
                        <div class="col-xs-12 col-sm-6">
                            <span class="block input-icon input-icon-right">
                                <input type="text" class="width-100" placeholder="年龄" id="age" name="age"  value="<?php echo ((isset($model['age']) && ($model['age'] !== ""))?($model['age']):''); ?>"  />
                                <i class=""></i>
                            </span>
                        </div>
                        <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
                    </div>
                    <div class="form-group">
                        <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="price"> 价格 </label>
                        <div class="col-xs-12 col-sm-6">
                            <span class="block input-icon input-icon-right">
                                <input type="text" class="width-100" placeholder="价格" id="price" name="price"  value="<?php echo ((isset($model['price']) && ($model['price'] !== ""))?($model['price']):''); ?>"  />
                                <i class=""></i>
                            </span>
                        </div>
                        <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
                    </div>
                    <div class="form-group">
                        <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="special"> 特长 </label>
                        <div class="col-xs-12 col-sm-6">
                            <span class="block input-icon input-icon-right">
                                <input type="text" class="width-100" placeholder="特长" id="special" name="special"  value="<?php echo ((isset($model['special']) && ($model['special'] !== ""))?($model['special']):''); ?>"  />
                                <i class=""></i>
                            </span>
                        </div>
                        <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
                    </div>

                    <div class="form-group">
                        <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="img"> 图片 </label>
                        <div class="col-xs-12 col-sm-6">
                            <span class="block input-icon input-icon-right">
                        <input type="file" class="width-100" placeholder="图片" id="img" name="img"  value="<?php echo ((isset($model['img']) && ($model['img'] !== ""))?($model['img']):''); ?>" validate-required="required:请填写图片" />
                        <i class=""></i>
                    </span>
                        </div>
                        <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
                    </div>
                    <div class="form-group">
                        <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="justification"> 资质证明 </label>
                        <div class="col-xs-12 col-sm-6">
                            <span class="block input-icon input-icon-right">
                        <input type="file" class="width-100" placeholder="资质证明" id="justification" name="justification"  value="<?php echo ((isset($model['justification']) && ($model['justification'] !== ""))?($model['justification']):''); ?>" validate-required="required:请填写资质证明" />
                        <i class=""></i>
                    </span>
                        </div>
                        <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
                    </div>

                    <div class="clearfix form-actions">
                        <div style="margin-left: 25%;">
                            <button class="btn btn-info btn-sm" type="submit">
                                <i class="icon-ok bigger-110"></i> 提交
                            </button>
                            &nbsp; &nbsp; &nbsp;
                            <button class="btn btn-sm return" type="button">
                                <i class="icon-reply bigger-110"></i> 返回
                            </button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
        <script type="text/javascript">
            if("ontouchend" in document) document.write("<script src='/Public/ace/assets/js/jquery.mobile.custom.min.js'>"+"<"+"script>");
        </script>
        <script src="/Public/ace/assets/js/typeahead-bs2.min.js"></script>
        <!-- page specific plugin scripts -->
        <!--[if lte IE 8]>
          <script src="/Public/ace/assets/js/excanvas.min.js"></script>
        <![endif]-->
        <script src="/Public/ace/assets/js/jquery-ui-1.10.3.custom.min.js"></script>
        <script src="/Public/ace/assets/js/jquery.ui.touch-punch.min.js"></script>
        <script src="/Public/ace/assets/js/jquery.slimscroll.min.js"></script>
        <script src="/Public/ace/assets/js/jquery.easy-pie-chart.min.js"></script>
        <script src="/Public/ace/assets/js/jquery.sparkline.min.js"></script>
        <script src="/Public/ace/assets/js/flot/jquery.flot.min.js"></script>
        <script src="/Public/ace/assets/js/flot/jquery.flot.pie.min.js"></script>
        <script src="/Public/ace/assets/js/flot/jquery.flot.resize.min.js"></script>
        <!-- ace scripts -->
        <script src="/Public/ace/assets/js/ace-elements.min.js"></script>
        <script src="/Public/ace/assets/js/ace.min.js"></script>
        <script src="/Public/ace/admin/js/admin.js"></script>
</body>

</html>